﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.Master" AutoEventWireup="true" CodeBehind="siparisler.aspx.cs" Inherits="Elektronix.admin.siparisler" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <table>
        <tr>
            <th>Sipariş NO
            </th>
            <th>Sipariş Tarihi
            </th>
            <th>Kullanıcı
            </th>
            <th>Fatura Adresi
            </th>
            <th>Telefonu
            </th>
            <th>Sipariş Tutarı
            </th>
            <th>Teslimat Zamanı
            </th>
             <th>Ödeme Tipi
            </th>
            <th>Ödeme Durumu
            </th>
            <th>Gönderim Şekli
            </th>
            <th>Gönderim Onayla
            </th>
        </tr>
        <asp:Repeater ID="siparislerRepater" runat="server">
            <ItemTemplate>
                <tr>
                    <td><%#Eval("siparisID") %></td>
                    <td><%#Eval("orderdate") %></td>
                    <td><%#Eval("siparisveren") %></td>
                    <td><%#Eval("invoiceaddres") %></td>
                    <td><%#Eval("telefon") %></td>
                    <td><%#Eval("price") %></td>
                    <td><%#Eval("requireddate") %></td>
                    <td><%#Eval("odemeyontemi") %></td>
                    <td><%#Eval("status") %></td>
                    <td>
                        <a href='siparisler.aspx?oid=<%#Eval("siparisID") %>'>Detaylar</a>
                    </td>
                    <td></td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>

    </table>

    <table>
        <tr> <th>Kullanci Bílgileri</th></tr>
        <tr>
            <td>UserID</td>
            <td>Email</td>
            <td>isim soyisim</td>
            <td>Telefon</td>
            <td>Fatura Adresi</td>
            <td>Teslimat tadresi</td>
        </tr>
          <tr>
            <td>
                <asp:TextBox ID="txtUserID" runat="server"></asp:TextBox></td>
            <td>
                <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox></td>
            <td>
                <asp:TextBox ID="txtNameSurname" runat="server"></asp:TextBox></td>
            <td>
                <asp:TextBox ID="txtTelefon" runat="server"></asp:TextBox></td>
            <td>
                <asp:TextBox ID="txtFaturaAdresi" runat="server"></asp:TextBox></td>
            <td>
                <asp:TextBox ID="txtTeslimatAdresi" runat="server"></asp:TextBox></td>
        </tr>
        <tr> <th>Sipariş bilgileri</th></tr>
        <tr>
            <td>orderID</td>
            <td>Sipariş Tarihi</td>
            <td>Teslimat Tarihi</td>
            <td>Kargolama Tarihi</td>
            <td>Kargo Şirketi</td>
            <td>Nakliye Bedeli</td>
            <td>Fatura Adresi</td>
            <td>Teslimat Adresi</td>
            <td>Ödeme Yöntemi</td>
            <td>Status</td>
        </tr>
            <tr>
            <td>
                <asp:TextBox ID="txtOrderID" runat="server"></asp:TextBox></td>
            <td>
                <asp:TextBox ID="txtSiparistarihi" runat="server"></asp:TextBox></td>
            <td>
                <asp:TextBox ID="txtTeslimatTarihi" runat="server"></asp:TextBox></td>
            <td>
                <asp:TextBox ID="txtKargolamaTarihi" runat="server"></asp:TextBox></td>
            <td>
                <asp:TextBox ID="txtKargoSirketi" runat="server"></asp:TextBox></td>
            <td>
                <asp:TextBox ID="txtNakliyeBedeli" runat="server"></asp:TextBox></td>
            <td>
                <asp:TextBox ID="txtFaturaAdresis" runat="server"></asp:TextBox></td>
            <td>
                <asp:TextBox ID="txtTeslimatAdresis" runat="server"></asp:TextBox></td>
            <td>
                <asp:TextBox ID="txtOdemeYontemi" runat="server"></asp:TextBox></td>
            <td>
                <asp:TextBox ID="txtStatus" runat="server"></asp:TextBox></td>
        </tr>

        <tr>  
            <th>  Siparişe Ait ürünler  </th>
        </tr>
        <tr>    
            <td>OrderID</td>
            <td>Urun Kodu</td>
            <td>Urun Adı</td>
            <td>Fiyatı</td>
            <td>Miktar</td>
            <td>İndirim</td>
            
        </tr>
        <asp:Repeater ID="Repeater1" runat="server">
            <ItemTemplate>
  <tr>    
            <td><%#Eval("siparisID") %></td>
            <td><%#Eval("productID") %></td>
            <td><%#Eval("productname") %></td>
            <td><%#Eval("sepetmiktar") %></td>
            <td><%#Eval("price") %></td>
            <td><%#Eval("discount") %></td>
           
            
        </tr>
                </ItemTemplate>
        </asp:Repeater>
       
    </table>



</asp:Content>
